home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / sys / amiga / networking / 3053 / text0000.txt < prev   
Encoding:
Text File  |  1996-08-05  |  3.2 KB  |  90 lines

  1.  
  2. In article <4ico6c$bki@love.goodnews.net> bruggmnt%/etc/HOSTNAME (Thom Bruggeman) writes:
  3. > Is it possible to mount a device like CD:4  as localhost in Amosaic??
  4. > I have an IBM/ MAC cdrom with HTML links but I can't get Amosaic to
  5. > see it as localhost.   I can use "open local" to access the documents
  6. > but then any addtional links use "localhost" as part of the path and 
  7. > then Amosaic cannot find the "URL file://localhost/(filename)" .
  8. >         I usually get,    "file://localhost/(filename) not found"  or
  9. > some such thing ....     I have to put the device name in the path,
  10. >         file://localhost/cd4:(filename)
  11. >                 or
  12. >         file://localhost/cd4:htmldocs/(filename)
  13. > in order to get Amosaic to find the file.
  14. >         I thought that it may be a problem with the AmiTCP but I'm
  15. > not sure???     Any Ideas??
  16.  
  17.  
  18. What you've got should work, if you've got the right text for the 
  19. system's route to the file.  Here is what my installation of Mosaic
  20. uses for its default home page and hotlist (from env:mosaic/prefs):
  21.  
  22. HomeDocument file://localhost/User:InternetApps/Mosaic-1.2-docs/amosaic.html
  23. RexxMacro2   Jump to Hotlist | "'jump url file://localhost/env:Mosaic/hotlist.html'"
  24.  
  25. This works just fine for me. (That's with AMosaic 2.0).
  26.  
  27. Here's some things I found with SnoopDos and AMosaic, with a loopback
  28. network only.
  29.  
  30. 1. The way the file system's path and name are interpreted is sort of
  31. like Unix.  Specifically, if you say file://localhost/foo, Mosaic
  32. starts at the directory it was started from (the current directory if
  33. you started it from a shell, or the program's directory if you started
  34. it from the icon).  From that directory, it looks up /foo as the file
  35. name.  In Unix, that would mean the root, and file foo at the root.
  36. But to the Amiga it means the file foo in the parent directory.  So
  37. you probably won't get what you expect.
  38.  
  39. 2. If you use file://localhost/s:startup-sequence Mosaic goes straight
  40. to the file system.  It seems to make a special case of
  41. file://localhost.  If that fails, it tries an FTP connection to
  42. "localhost" with the usual host name look up.
  43.  
  44. 3. For me, file://localhost/foo:bar works just fine whether foo is a
  45. device name like HD0:, a disk label like "Workbench:" or an assignment
  46. like "s:".  It even works for "CON:" 
  47.  
  48. SnoopDOS would be a very useful tool to help you troubleshoot this
  49. problem.  I strongly recommend it.
  50.  
  51. If it helps, here is my env:mosaic/prefs file:
  52.  
  53. HomeDocument    file://localhost/User:InternetApps/Mosaic-1.2-docs/amosaic.html
  54. DownloadDir     User:Downloads/Internet/World Wide Web/
  55. ImageCacheSize  500
  56. DelayImageLoads true
  57. Font            CGTimes/13
  58. ItalicFont      CGTimes/13/italic
  59. BoldFont        CGTimes/13/bold
  60. FixedFont       topaz/11
  61. AddressFont     topaz/11
  62. PlainFont       grn/8
  63. H1Font          CGTimes/24
  64. H2Font          CGTimes/20
  65. H3Font          CGTimes/18
  66. H4Font          CGTimes/15
  67. H5Font          CGTimes/13
  68. H6Font          CGTimes/11
  69. RexxMacro1      Add to Hotlist | add-hotlist
  70. RexxMacro2      Jump to Hotlist | "'jump url file://localhost/env:Mosaic/hotlist.html'"
  71. TempDir        Ram:t/
  72. Home        User:
  73.  
  74. -- 
  75. Scott Norton
  76. Norton@ACM.org
  77. Defense Technology, Inc.
  78. 2920 South Glebe Road
  79. Arlington VA  22206
  80. +1-703-299-1656, fax: +1-703-706-0476
  81.